ScheduledItem class¶
Attributes: [DebuggerDisplay("{DebuggerDisplay,nq}")]
Defined in
Namespace: ReactiveUI.Primitives.Concurrency
Assembly: ReactiveUI.Primitives.Core.dll
Full name: ReactiveUI.Primitives.Concurrency.ScheduledItem<T>
Modifiers: public sealed
Summary¶
Provides the base implementation for a scheduled unit of work that is ordered by an absolute due time.
Applies to
net10.0, net10.0, net10.0-desktop1.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-browserwasm1.0, net9.0, net9.0, net9.0-desktop1.0, net9.0-desktop1.0, net9.0-browserwasm1.0, net9.0-browserwasm1.0, net8.0, net8.0, net8.0-ios17.5, net8.0-macos14.5, net8.0-macos14.5, net8.0-macos14.2, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-maccatalyst17.5, net8.0-tvos17.2, net8.0-tvos17.2, net8.0-ios17.5, netstandard2.1, netstandard2.1, net481, net462, net462, net481
Class hierarchy
classDiagram
class ScheduledItem~T~
class IScheduledItem~TAbsolute~ {
<>
}
IScheduledItem~TAbsolute~ <|.. ScheduledItem~T~
class IComparable~ScheduledItem~TAbsolute~~ {
<>
}
IComparable~ScheduledItem~TAbsolute~~ <|.. ScheduledItem~T~
class IsDisposed {
<>
}
IsDisposed <|.. ScheduledItem~T~
class IDisposable {
<>
}
IDisposable <|.. ScheduledItem~T~
class IComparable {
<>
}
IComparable <|.. ScheduledItem~T~
Implements: IScheduledItem
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ScheduledItem](# class with the due time, comparer, and invocation callback. The callback supplies the work... |
Properties¶
| Name | Summary |
|---|---|
| DueTime | Gets the absolute time at which this work item is scheduled to run. |
| IsDisposed | Gets a value indicating whether this work item has been canceled or disposed. |
Methods¶
| Name | Summary |
|---|---|
| Cancel | Cancels this scheduled work item. |
| CompareTo | Compares this scheduled item with another scheduled item by due time. |
| Dispose | Releases the resources associated with this scheduled item and prevents future invocation. |
| Equals | Determines whether the specified object is the same scheduled item instance. |
| GetHashCode | Returns a hash code based on this scheduled item's object identity. |
| Invoke | Runs this scheduled work item if it has not been canceled. |
Operators¶
| Name | Summary |
|---|---|
| static op_Inequality | Determines whether two scheduled item references are not the same object. |
| static op_LessThan | Determines whether the first scheduled item is due before the second scheduled item. |
| static op_LessThanOrEqual | Determines whether the first scheduled item is due before, or at the same time as, the second scheduled item. |
| static op_Equality | Determines whether two scheduled item references are the same object. |
| static op_GreaterThan | Determines whether the first scheduled item is due after the second scheduled item. |
| static op_GreaterThanOrEqual | Determines whether the first scheduled item is due after, or at the same time as, the second scheduled item. |